//
//  BaseRequest.h
//  fashionbuyer
//
//  Created by ale tan on 2018/1/16.
//  Copyright © 2018年 ale tan. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "ServiceManager.h"

typedef void(^RequestResult)(id responseDic,BOOL result);

@interface BaseRequest : NSObject

/**
 *  请求地址
 */
@property (nonatomic ,strong) NSString *endPointUrl;

/**
 *  请求参数
 */
@property (nonatomic ,strong ) NSMutableDictionary *parameters;

/**
 *  是否需要验证个人信息
 */
@property (nonatomic ,assign ) BOOL needToken;

@property (nonatomic ,assign) BOOL needUID;

@property (nonatomic ,strong) RequestResult requestCallBack;

- (void)setNeedToken:(BOOL)needToken;

- (void)setNeedUID:(BOOL)needUID;

@end
